package com.bll.tsdoa.convert;

import com.bll.tsdoa.dto.PartDto;
import com.bll.tsdoa.entity.Part;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author bll
 * @version 1.0
 * @date 2025/2/20 20:51
 */
@Mapper
public interface PartConvertDtoToEntity {
    PartConvertDtoToEntity INSTANCE = Mappers.getMapper(PartConvertDtoToEntity.class);

    Part convertDtoToEntity(PartDto partDto);
}
